<?
class iMVC_View_Table_Col_CheckBox extends iMVC_View_Table_Node_Abstract{
    public $tagName='td';
    public $classPrefix='iweb-table-col-';    

    public function getNode($row,$col,$rs,$doc){

        $node=$doc->createElement($this->tagName); 
        $node->setAttribute('class',$this->classPrefix.$col);
        $checkBox=$doc->createElement('input');
        $checkBox->setAttribute('type','checkbox');
        $checkBox->setAttribute('name',$col);
        $checkBox->setAttribute('value',$rs[$row][$col]);
        //$node->nodeValue=$rs[$row][$col];  
        $node->appendChild($checkBox);
        
        return $node; 
    }



}


// vim600:ts=4 st=4 foldmethod=marker foldmarker=<<<,>>>
// vim600:syn=php commentstring=//%s
